a = float(input("请输入你的成绩："))
if a >= 90:
    print("A")
elif a > 60 and a < 89:
    print("B")
else:
    print("C")